package com.qfjy.homework.zhailifan;

/**
 * @author:zlf
 * @date:2022/11/1020:16
 * @version:1.0
 */
public class Receptionist {
    private Hospital pay;
    private Hospital register;
    private Hospital takemedicine;
    public Receptionist() {
         pay = new Pay();
         register = new Register();
         takemedicine = new Takemedicine();
    }

    public void pay(){
        pay.curedisease();
    }
    public void register(){
        register.curedisease();
    }
    public void takemedicine(){
        takemedicine.curedisease();
    }
}
